<div class="col-lg-12">
	<!--当前位置 start-->
	<div class="row">
		<div class="col-lg-12">
			<ol class="breadcrumb">
				<li><a><i class="fa fa-home mrg-r-sm"></i>首页</a>
				</li>
				<li class="active"><span> 合作订单详情  </span>
				</li>
			</ol>
		</div>
	</div>
	<!--当前位置 end-->
	<!--代码写在这里-->
	<div class="row">

		<div class="col-lg-12">
			<div class="main-box">
				<header class="main-box-header clearfix">
					<h2>合作订单详情</h2>
				</header>
				<div class="main-box-body clearfix">
					<form class="form-horizontal" role="form">
						<div class="form-group">
							<label class="col-lg-2 control-label"> 服务类型</label>
							<div class="col-lg-2">
								<input type="text" class="form-control" disabled="disabled" ng-model="order.serviceType1_title" />
					        </div>
					        <div class="col-lg-2">
						       <input type="text" class="form-control" disabled="disabled" ng-model="order.serviceType2_title" />
					        </div>
					        <div class="col-lg-2">
						     	 <input type="text" class="form-control" disabled="disabled" ng-model="order.serviceType3_title" />
					        </div>
					       <!-- <input type="hidden" ng-model="order.company"  ng-init="order.company=company"/>-->
					      
						</div>
						
						<div class="form-group">
							<label class="col-lg-2 control-label">订单详情</label>
							<div class="col-lg-6">
								<input type="text" class="form-control" id="detail" disabled="disabled"   ng-model="order.detail" placeholder="请输入订单详情">
							</div>
						</div>
						
						
						<div class="form-group">
							<label class="col-lg-2 control-label">联系地址</label>
							<div class="col-lg-6">
								<input type="text" class="form-control" id="address"   disabled="disabled"  ng-model="order.address" placeholder="请输入联系地址">
							</div>
						</div>
						<div class="form-group">
							<label class="col-lg-2 control-label">预约时间</label>
							<div class="col-lg-6">
								<input type="text" class="form-control" id="time" id="time" disabled="disabled"  onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})"  ng-model="order.time"   placeholder="请输入预约时间">
							</div>
							
						</div>
						<div class="form-group">
							<label class="col-lg-2 control-label">薪资待遇</label>
							<div class="col-lg-6">
								<input type="text" class="form-control" id="name" disabled="disabled"  ng-model="order.public_fund"  placeholder="请输入薪资待遇">
							</div>
						</div>
						<div class="form-group">
							<label class="col-lg-2 control-label">企业联系人</label>
							<div class="col-lg-6">
								<input type="text" class="form-control"  disabled="disabled"   ng-model="order.comName" placeholder="请输入企业联系人">
							</div>
						</div>
						<div class="form-group">
							<label class="col-lg-2 control-label">企业联系电话</label>
							<div class="col-lg-6">
								<input type="text" class="form-control"  disabled="disabled"   ng-model="order.comPhone" placeholder="请输入联系电话">
							</div>
						</div>
						<div class="form-group">
							<label class="col-lg-2 control-label">发布企业</label>
							<div class="col-lg-6">
								<input type="text" class="form-control"  disabled="disabled"   ng-model="order.record_company_name"  >
							</div>
						</div>
						<div class="form-group">
							<label class="col-lg-2 control-label">创建时间</label>
							<div class="col-lg-6">
								<input type="text" class="form-control"  disabled="disabled"   ng-model="order.create_time"  >
							</div>
						</div>
						<div class="form-group">
							<label class="col-lg-2 control-label">合作状态</label>
							<div class="col-lg-6">
								<input type="text" class="form-control"  disabled="disabled"   ng-model="order.public_status_text"  >
							</div>
						</div>
						<div class="form-group">
							<div class="col-lg-offset-2 col-lg-6">
								<a class="btn btn-danger" href="#/cooperate/release_notes">取消</a>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
		
			<div class="row">
			<div class="col-lg-12">
			<div class="main-box">
				<header class="main-box-header clearfix">
					<h2>合作订单申请</h2>
				</header>
				<div class="main-box-body clearfix">
						<div class="table-responsive">
							<table class="table table-hover table-striped text-center">
								<thead >
									<tr>
										<th class="text-center"><span>合作人员</span></th>
										<th class="text-center"><span>申请时间</span></th>
										<th class="text-center"><span>申请企业</span></th>
										<th class="text-center"><span>联系电话</span></th>
										<th class="text-center"><span>分成比</span></th>
										<th class="text-center"><span>留言</span></th>
										<th class="text-center"><span>操作</span></th>
									</tr>
								</thead>
								<tbody>
									<tr role="row" class="odd" ng-repeat="item in list"   on-finish-render-filters>
										<td> <a href="#/servant/talentPoolNewDetails/{{item.servant_id}}" > {{item.servant_name}}</a></td>
										<td> {{item.request_time}}</td>
										<td> {{item.servant_company_name}}</td>
										<td> {{item.company_contact_telephone}}</td>
										<td> {{item.salary_rate}}</td>
										<td>{{item.message}}</td>
										<td>
											<a  ng-if="item.status==0" class="table-link ng-scope" ng-click="check_apply(item,'accept')">
		                                        <span class="fa-stack">
		                                            <i class="fa fa-square fa-stack-2x"></i>
		                                            <i class="fa fa-check fa-stack-1x fa-inverse"></i>
		                                        </span>
		                                    </a>
											<a  ng-if="item.status==0"  class="table-link danger ng-scope" ng-click="check_apply(item,'refuse')">
		                                        <span class="fa-stack">
		                                            <i class="fa fa-square fa-stack-2x"></i>
		                                            <i class="fa fa-ban fa-stack-1x fa-inverse"></i>
		                                        </span>
                                    		</a>
											<sapn ng-if="item.status!=0">
												{{item.status_text}}
											</sapn>
										</td>
									</tr>
								</tbody>
							</table>
						</div>
						<ul class="pagination pull-right">
							<li><a >总条数：{{count}}</a></li>
							<li><a >总页数：{{totalPage}}</a></li>
					        <li><a ng-click="changePage(1)">首页</a></li>
					        <li><a ng-show="currentPage>1" ng-click="changePage(currentPage-1)"><i class="fa fa-chevron-left"></i></a></li>
					        <!--<li><span ng-show="frontdotShow">…</span></li>-->
					        <li ng-repeat="item in pageList" ng-click="changePage(item.number)" class="{{item.active}}"><a>{{item.number}}</a></li>
					        <!--<li><span ng-show="backdotShow">…</span></li>-->
					        <li><a ng-show="currentPage<totalPage" ng-click="changePage(currentPage+1)"><i class="fa fa-chevron-right"></i></a></li>
					        <li><a ng-click="changePage(totalPage)">尾页</a></li>
					    </ul>
					</div>
				</div>
			</div>
		</div>
	</div>
